home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
LOGIC Apps
/
Logic-APPLE_II_APPS.iso
/
mac
/
LOGIC Apple II 5.25" Library - ProDOS 8
/
P8S007A.dsk
/
INSTRUCTIONS.bas
< prev
next >
Wrap
BASIC Source File
|
2012-02-16
|
2KB
|
52 lines
100 HOME
103 DIM W$(900)
105 D$ = CHR$(4)
107 VTAB 5: HTAB 4: PRINT "PLACE SIDE B OF DISK INTO DRIVE"
110 VTAB 8: HTAB 4: PRINT "Which part you you like to see?"
112 VTAB 10: HTAB 12: PRINT "1) Part 1"
114 VTAB 12: HTAB 12: PRINT "2) Part 2"
115 VTAB 14: HTAB 12: PRINT "3) Appendix"
116 VTAB 16: HTAB 12: PRINT "4) Quit"
117 VTAB 20: HTAB 9: PRINT "Enter your choice: ";: GET A$: PRINT A$
118 IF A$ = "4" THEN 310
119 IF A$ <"1" OR A$ >"3" THEN PRINT CHR$(7): GOTO 117
122 PRINT D$;"OPEN YOYODUCK": PRINT D$;"READ YOYODUCK": INPUT YO$: PRINT D$;"CLOSE"
124 IF YO$ < >"SIDE2" THEN GOSUB 2000: GOTO 122
126 HOME : VTAB 8: HTAB 10: PRINT "PLEASE WAIT - WORKING"
130 PRINT D$;"OPEN P";A$
140 PRINT D$;"READ P";A$
150 ONERR GOTO 185
160 FOR I = 1 TO 900
170 INPUT W$(I)
180 NEXT I
185 N = I -1
190 PRINT D$;"CLOSE"
191 HOME
200 VTAB 12: PRINT TAB( 5);"DO YOU WANT A HARDCOPY? (Y/N) N"
205 VTAB 12: HTAB 35: GET A$: PRINT A$
207 IF A$ = CHR$(13) THEN A$ = "N": GOTO 215
210 IF A$ < >"Y" AND A$ < >"N" AND A$ < >"y" AND A$ < >"n" THEN PRINT CHR$(7): GOTO 205
215 HOME : VTAB 8: PRINT " PRESS CONTROL-S TO PAUSE INSTRUCTIONS AND ANY KEY TO START UP AGAIN."
216 VTAB 13: HTAB 10: PRINT "PRESS CONTROL-C TO STOP"
217 VTAB 22: PRINT TAB( 7);"PRESS SPACEBAR TO CONTINUE: ";: GET SP$: PRINT SP$
220 ONERR GOTO 280
230 IF A$ = "Y" OR A$ = "y" THEN PRINT CHR$(4);"PR#1": PRINT CHR$(9);"80N": GOTO 260
240 PRINT CHR$(4);"PR#3"
245 ONERR GOTO 280
250 SPEED= 200
260 FOR I = 1 TO N: PRINT W$(I):W$(I) = "": NEXT I
280 SPEED= 255
285 IF A$ = "Y" OR A$ = "y" THEN PRINT CHR$(4)"PR#0"
290 PRINT : PRINT : PRINT : PRINT "PRESS SPACEBAR TO CONTINUE: ";: GET A$: PRINT A$
300 PRINT CHR$(17) + CHR$(21): REM TURN ON 40 COL AND DEACTIVATE 80 COLUMN
305 HOME : GOTO 110
310 HOME
312 VTAB 8: HTAB 4: PRINT "PLACE SIDE A OF DISK INTO DRIVE"
314 VTAB 10: HTAB 2: PRINT "AND PRESS THE RETURN KEY TO CONTINUE";: GET SB$: PRINT SB$
316 PRINT D$;"OPEN YOYODUCK": PRINT D$;"READ YOYODUCK": INPUT YO$: PRINT D$;"CLOSE"
318 IF YO$ < >"SIDE1" THEN GOSUB 2000: GOTO 316
320 PRINT CHR$(4);"RUN HELLO2"
2000 HOME
2010 VTAB 8: HTAB 2: PRINT "Place other side of disk into drive"
2020 VTAB 10: HTAB 3: PRINT "and then press Return to continue";: GET SB$: PRINT SB$
2030 RETURN